home *** CD-ROM | disk | FTP | other *** search
/ Sports Illustrated for Kids - Awesome Athletes! / Sports Illustrated for Kids - Awesome Athletes!.iso / iv.dir / 00021_ivDialogue init frame script.ls < prev    next >
Encoding:
Text File  |  1996-04-19  |  908 b   |  21 lines

  1. on enterFrame
  2.   global givTextHiliteColor, givTextRegColor, givState, givDebug, givSELECTFORESPRITE, givSELECTBACKSPRITE
  3.   MessagePut("entering frame ivSelect, init...")
  4.   put "DUCK1" && the selectType of givState
  5.   puppetSprite(givSELECTFORESPRITE, 1)
  6.   puppetSprite(givSELECTBACKSPRITE, 1)
  7.   if the selectType of givState = #athlete then
  8.     set the castNum of sprite givSELECTBACKSPRITE to the number of cast "athlete select back"
  9.     set the locH of sprite givSELECTBACKSPRITE to 570
  10.     set the locV of sprite givSELECTBACKSPRITE to 295
  11.     set the visible of sprite givSELECTBACKSPRITE to 1
  12.     updateStage()
  13.   else
  14.     set the castNum of sprite givSELECTBACKSPRITE to the number of cast "topic select back"
  15.     set the locH of sprite givSELECTBACKSPRITE to 572
  16.     set the locV of sprite givSELECTBACKSPRITE to 325
  17.     set the visible of sprite givSELECTBACKSPRITE to 1
  18.     updateStage()
  19.   end if
  20. end
  21.